package com.lin;

// 不打折促销
class NoPromotion implements Promotion {
    public double calculateDiscount(Order order) {
        double total = 0.0;
        for (OrderItem item : order.getItems()) {
            total += item.getPrice();
        }
        return total;
    }
}